#include "ros/ros.h"
#include"server/addint.h"

int main(int argc,char * argv[])
{
    ros::init(argc,argv,"baoshu");
    ros::NodeHandle nh;
    ros::ServiceClient client=nh.serviceClient<server::addint>("qiuhe");
    server::addint ai;
    ai.request.num2=100;
    ai.request.num1=200;
    bool flag=client.call(ai);
    if(flag)
    {
        ROS_INFO("true");
    }
    else{
        ROS_INFO("false");
    }
    ros::spin();
    return 0;
}
